import React from 'react';
import {Tabs} from "antd";
import Storage from "./Storage";
import Shelter from "./Shelter";
import Experts from "./Experts";

const { TabPane } = Tabs;
const EmergencyResource: React.FC<any> = () => {
  return (
    <Tabs
      defaultActiveKey="1"
      tabBarStyle={{ padding: "0 16px" }}
    >
      <TabPane tab="应急仓库" key="1">
        <Storage></Storage>
      </TabPane>
      <TabPane tab="应急专家" key="2">
        <Experts></Experts>
      </TabPane>
      <TabPane tab="应急避难所" key="3">
        <Shelter></Shelter>
      </TabPane>
    </Tabs>
  );
};

export default EmergencyResource;
